package com.example.smartcanteen.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = "handler")
public class OrderDTO {
    private Integer id;
    @TableField("studentID")
    private Integer studentID;
    @TableField("shopID")
    private int shopID;
    @TableField("goodsID")
    private int goodsID;
    private double price;
    private int count;
    private int total;
    private String payment;
    private String form;
    private String buytime;
    private String state;

    //goods
    private String url;
    private String goodsname;
    private double score;
}
